package com.gitee.theskyzero.logging;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Slf4j
public class Slf4jLogger {

    private static final Logger logger = LoggerFactory.getLogger(Slf4jLogger.class);

    public static void main(String[] args) {
        log.error("this is a log");
        logger.error("this is a log too");
    }
}
